﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LiveStreaming.Model
{
    public class ChannelItemModel
    {

        /// <summary>
        /// 
        /// </summary>
        public int channelId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string userId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string stream { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string logoImage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public float logoOpacity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string logoPosition { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string logoHref { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string coverImage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string coverHref { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string waitImage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string waitHref { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cutoffImage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cutoffHref { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string advertType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int advertDuration { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int advertWidth { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int advertHeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string advertImage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string advertHref { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string advertFlvVid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string advertFlvUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string playerColor { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string autoPlay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string warmUpFlv { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string passwdRestrict { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string passwdEncrypted { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string isOnlyAudio { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string isLowLatency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string m3u8Url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string m3u8Url1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string m3u8Url2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string m3u8Url3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long currentTimeMillis { get; set; }

    }

    public class ChannelRsModel
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ChannelItemModel data { get; set; }
    }

}
